In mathematics, the n-th harmonic number is the sum of the reciprocals of the first n natural numbers:
This also equals n times the inverse of the harmonic mean of these natural numbers.
Harmonic numbers were studied in antiquity and are important in various branches of number theory. They are sometimes loosely termed harmonic series, are closely related to the Riemann zeta function, and appear in various expressions for various special functions.
When the value of a large quantity of items has a Zipf's law distribution, the total value of the n most-valuable items is the n-th harmonic number. This leads to a variety of surprising conclusions in the Long Tail and the theory of network value.
Contents |
An integral representation is given by Euler:
The equality above is obvious by the simple algebraic identity below
An elegant combinatorial expression can be obtained for using the simple integral transform :
The same representation can be produced by using the third Retkes identity putting and using the fact that .
If we use Retkes identity for in which case one can have an analog formula for the n-th partial sum of
Hn grows about as fast as the natural logarithm of n. The reason is that the sum is approximated by the integral
whose value is ln(n).
The values of the sequence Hn - ln(n) decrease monotonically towards the limit:
(where γ is the Euler–Mascheroni constant 0.5772156649...), and the corresponding asymptotic expansion as :
where are the Bernoulli numbers.
There are the following special analytic values for fractional arguments between 0 and 1, given by the integral
More may be generated from the recurrence relation or from the reflection relation .
For every , integer or not, we have:
Based on , we have: , where is the Euler–Mascheroni constant or, more generally, for every n we have:
A generating function for the harmonic numbers is
where is the natural logarithm. An exponential generating function is
where is the entire exponential integral. Note that
where is the incomplete gamma function.
The harmonic numbers appear in several calculation formulas, such as the digamma function:
This relation is also frequently used to define the extension of the harmonic numbers to non-integer n. The harmonic numbers are also frequently used to define γ, using the limit introduced in the previous section, although
converges more quickly.
In 2002 Jeffrey Lagarias proved that the Riemann hypothesis is equivalent to the statement that
is true for every integer n ≥ 1 with strict inequality if n > 1; here σ(n) denotes the sum of the divisors of n.
The eigenvalues of the nonlocal problem
are given by , where by convention,
The generalized harmonic number of order of m is given by
Note that the limit as n tends to infinity exists if .
Other notations occasionally used include
The special case of is simply called a harmonic number and is frequently written without the superscript, as
In the limit of , the generalized harmonic number converges to the Riemann zeta function
The related sum occurs in the study of Bernoulli numbers; the harmonic numbers also appear in the study of Stirling numbers.
Some integrals of generalized harmonic are:
and where is the Apéry's constant.
A generating function for the generalized harmonic numbers is
where is the polylogarithm, and |z| < 1. The generating function given above for m = 1 is a special case of this formula.
Using polygamma functions we obtain:
or, more generally:
where is the natural logarithm.
For generalized harmonic numbers we have:
where is the Riemann zeta function.
Euler's integral formula for the harmonic numbers follows from the integral identity
which holds for general complex-valued s, for the suitably extended binomial coefficients. By choosing a=0, this formula gives both an integral and a series representation for a function that interpolates the harmonic numbers and extends a definition to the complex plane. This integral relation is easily derived by manipulating the Newton series
which is just the Newton's generalized binomial theorem. The interpolating function is in fact the digamma function:
where is the digamma, and is the Euler-Mascheroni constant. The integration process may be repeated to obtain
Some derivatives of fractional harmonic numbers are given by:
And using Maclaurin series, we have for x<1 :
where is the Riemann zeta function.
This article incorporates material from Harmonic number on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.